From b803337327d0b36533a58fe1ec381c5da0b439b6 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 23 May 2013 00:55:52 -0700 Subject: [PATCH] Silence em-ls compilation * lisp/eshell/em-ls.el: Adjust requires. (eshell-glob-regexp): Declare. --- lisp/ChangeLog | 2 ++ lisp/eshell/em-ls.el | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 03441f9f52e..de0dffccc98 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -30,6 +30,8 @@ * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg) (he-string-member, he-reset-string, he-substitute-string): Declare. + * eshell/em-ls.el: Adjust requires. + (eshell-glob-regexp): Declare. * eshell/em-tramp.el: Adjust requires. (eshell-parse-command): Autoload. * eshell/em-xtra.el: Adjust requires. diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index e087861d7d9..41db4cd03d1 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el @@ -26,10 +26,10 @@ ;;; Code: -(eval-when-compile (require 'eshell)) (require 'cl-lib) (require 'esh-util) (require 'esh-opt) +(eval-when-compile (require 'eshell)) ;;;###autoload (progn @@ -334,6 +334,8 @@ instead." (defvar ange-cache) (defvar dired-flag) +(declare-function eshell-glob-regexp "em-glob" (pattern)) + (defun eshell-do-ls (&rest args) "Implementation of \"ls\" in Lisp, passing ARGS." (funcall flush-func -1) -- 2.30.2